package chapter67;

public class Calc {
	public double calc(int num1,double num2){
		return num1+num2;
	}
	
	public double clac(int num1,double num2,int num3){
		return num1+num2+num3;
	}
	
	public int calc(int num1,int num3){
		return num1+num3;
	}
	
	public static void main(String[] args) {
		Calc calc = new Calc();
		double sum1 = calc.calc(34, 34.43);
		double sum2 = calc.clac(4, 64.2,54);
		int sum3 = calc.calc(23, 355);
		System.out.println(sum1);
		System.out.println(sum2);
		System.out.println(sum3);
	}
}
